<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>{$admin_title}</title>
<include file="./core/Modules/Center/Tpl/Public/js_css_header.html" />
</head>

<body>
	<include file="./core/Modules/Center/Tpl/Public/header.html" />
	<div class="cont_wrap">
		<div class="position">当前位置:&nbsp;{$location}</div>
		<table width="100%" border="0" cellpadding="0" cellspacing="1" class="list_table_line">
          <tr>
            <td width="5%" class="table_head"><div align="center"><span>序号</span></div></td>
            <td width="15%" class="table_head"><div align="center"><span>姓名</span></div></td>
			<td width="57%" class="table_head"><div align="center"><span>留言内容</span></div></td>
			<td width="10%" class="table_head"><div align="center"><span>留言时间</span></div></td>
            <td width="13%" class="table_head"><div align="center">基本操作</div></td>
          </tr>
          <!-- 列表循环开始 -->
		  <foreach name="pagination.resultList" item="obj">
		  <tr class="line" bgcolor="#FFFFFF">
            <td class="list_td_height"><div align="center">{$obj.guestbook_id}</div></td>
            <td><div align="center">{$obj.real_name}</div></td>
			<td>
				<div align="center">
					{$obj.content}
					<if condition="$obj.reply neq null"><br/>回复:&nbsp;<span style="color:green;font-weight: bold;">{$obj.reply}</span></if>
				</div>
			</td>
			<td><div align="center">{$obj.timeline}</div></td>
            <td><div align="center"><a href="__APP__/center/guestBook/reply/?id={$obj.guestbook_id}"><if condition="$obj.reply neq null">[修改回复]<else/>[回复]</if>&nbsp;</a><a href="javascript:toConfirm('是否确定删除该数据？','__APP__/center/guestBook/delete/?id={$obj.guestbook_id}','__APP__');" target="_self">[删除]</a></div></td>
          </tr>
		  </foreach>
		  <!-- 列表循环结束 -->
         </table>
	     <div style="margin-top: 10px;">{$pagination.htmlurl}</div>
	</div>
</body>
</html>
